package com.riwon.im.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 应用程序配置信息
 *
 * @author wpy
 */
@Component
@ConfigurationProperties(value = "application")
public class ApplicationProperties {
    /**
     * webSocket端口
     */
    private Integer webSocketPort;
    /**
     * webSocket服务器地址
     */
    private String webSocketHost;

    /**
     * rj的部署地址
     */
    private String rjGetUserUrl;

    public Integer getWebSocketPort() {
        return webSocketPort;
    }

    public void setWebSocketPort(Integer webSocketPort) {
        this.webSocketPort = webSocketPort;
    }

    public String getWebSocketHost() {
        return webSocketHost;
    }

    public void setWebSocketHost(String webSocketHost) {
        this.webSocketHost = webSocketHost;
    }

    public String getRjGetUserUrl() {
        return rjGetUserUrl;
    }

    public void setRjGetUserUrl(String rjGetUserUrl) {
        this.rjGetUserUrl = rjGetUserUrl;
    }
}


